local minionutils = dofile(GetScriptDirectory() .. "/util/NewMinionUtil")

function MinionThink(hMinionUnit)
	if minionutils.IsValidUnit(hMinionUnit) then
		if hMinionUnit:IsIllusion() then
			minionutils.IllusionThink(hMinionUnit)
		elseif minionutils.CantBeControlled(hMinionUnit:GetUnitName()) then
			minionutils.CantBeControlledThink(hMinionUnit)
		else
			return
		end
	end
end
